home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / hosts / decstation.h < prev    next >
C/C++ Source or Header  |  1993-09-27  |  946b  |  39 lines

  1. #include <fcntl.h>
  2. #include <errno.h>
  3. #include <stdio.h>
  4. #include <sys/types.h>
  5. #include <sys/stat.h>
  6. #include <ctype.h>
  7. #include <string.h>
  8. #include <sys/file.h>
  9. #include <malloc.h>
  10. #ifndef    O_ACCMODE
  11. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  12. #endif
  13. #define SEEK_SET 0
  14. #define SEEK_CUR 1
  15.  
  16. /* Hopefully this should include either machine/param.h (Ultrix) or
  17.    machine/machparam.h (Mach), whichever is its name on this system.  */
  18. #include <sys/param.h>
  19.  
  20. #include <machine/vmparam.h>
  21.  
  22. #define    HOST_PAGE_SIZE        NBPG
  23. /* #define    HOST_SEGMENT_SIZE    NBPG -- we use HOST_DATA_START_ADDR */
  24. #define    HOST_MACHINE_ARCH    bfd_arch_mips
  25. /* #define    HOST_MACHINE_MACHINE     */
  26.  
  27. #define    HOST_TEXT_START_ADDR        USRTEXT
  28. #define    HOST_DATA_START_ADDR        USRDATA
  29. #define    HOST_STACK_END_ADDR        USRSTACK
  30.  
  31. #define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \
  32.   ((core_bfd)->tdata.trad_core_data->u.u_arg[0])
  33.  
  34. #include "fopen-same.h"
  35.  
  36. /* other */
  37.  
  38. extern char *getenv();
  39.